package com.bdqn.controller;

import com.bdqn.service.ProductServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @Author: tao
 * @Description: talk is cheap,show me the code!
 * @Date: create in 2021/3/20 12:33
 */

@RestController
public class ProductController {

    @Autowired
    ProductServiceImpl productServiceImpl;


    @GetMapping("/list")
    public String shouldAnswerWithTrue()
    {
        List<String> list = productServiceImpl.list();
        System.out.println();
        return "";
    }
}
